package com.sumainfor.pc.cfo.fallback;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.cfo.feign.BaseGmioFeign;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @Author PuaChen
 * @Create 2019-04-17 18:36
 */
@Component
public class GmioFeignFallback implements BaseGmioFeign {
    @Override
    public JsonResult selectOrderInTableList(Map<String, Object> params) {
        return JsonResult.error("服务异常");
    }

    @Override
    public JsonResult selectOrderOutTableList(Map<String, Object> params) {
        return JsonResult.error("服务繁忙.....");
    }

    @Override
    public JsonResult getTheOwnerRent() {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult setPayDone(String biOutId) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public List<Map<String, Object>> getOutAndInByHouseId(Map<String, Object> map, Integer type) {
        return null;
    }
}
